package java_1_24.stack_queue.stack;


public class Test {
    public static void main(String[] args) {
        MyStack<Integer> myStack=new MyStack<>();
        myStack.push(1);
        myStack.push(3);
        myStack.push(5);
        System.out.println(myStack.toString());
        while(!myStack.isEmpty()){
            System.out.println(myStack.pop());
        }
    }
}
